package entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @Auther: hjk
 * @Date: 2019/6/18 21:32
 * @Description: 分页对象
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class PageResult<T> {

    /** 总记录数 */
    private Long tatal;
    /** 记录集合 */
    private List<T> rows;
}
